package com.android.phoenix;

/**
 * @ClassName: Coonstant
 * @Description: 定义一些静态常�
 * @author: wanchao
 * @date: 2015-1-7 下午9:34:20
 */
public class Constant {
	// sharedpreferences 名称
	public static final String SHAREDPREFERENCES_NAME = "sharedpreferences_bicycle";

	// 第一次登
	public static final String ISFIRSTLOGIN = "isFirstLogin";
	// 第一次运行程序
	public static final String ISFIRSTRUN = "isTheFirstRun";

	public static final String ISBLUTOOTHCONNECTED = "isConnected";
	public static final String BLUTOOTHDEVICE = "deviceAdress";

	public static final String RANK_NAME = "rankName";

	public static final String USERSEX = "userSex";
	public static final int MALE = 0;
	public static final int FEMALE = 1;
	public static final String USERAGE = "userAge";
	public static final String USERHEIGHT = "userHeight";
	public static final String USERWEIGHT = "userWeight";

	public static final String KM = "km";
	public static final String QIANKA = "千卡";
	/**
	 * true 超速行驶的标记
	 */
	public static boolean SPEED_REMIND = false;

	/**
	 * true 休息提醒标记
	 */
	public static boolean RELAX_REMIND = false;

	/**
	 * true 安全提醒标记
	 */
	public static boolean SAFETY_REMIND = false;

	/**
	 * true 超速行驶的开关选中
	 */
	public static String IS_SPEED_REMIND_CHECKED = "speed";

	/**
	 * true 休息提醒开关选中
	 */
	public static String IS_RELAX_REMIND_CHECKED = "relax";
	
	/**
	 * true 登录成功
	 */
	public static final String LOGIN_SUCCEED = "loginsucceed";

	/**
	 * true 安全提醒开关选中
	 */
	public static String IS_SAFETY_REMIND_CHECKED = "safety";

	public static String USERNAME = "username";

	public static String PASSWORD = "password";
	public static String NICKNAME = "nickname";
	/**
	 * 开启、关闭导航时都发送广
	 */
	public static final String START_NAVI_BROADCAST = "com.android.dream.bycecle.startnavi";
	public static final String END_NAVI_BROADCAST = "com.android.dream.bycecle.endnavi";

	public static String PHOTO_PATH = "mnt/shell/emulated/0/";
}
